package com.itheima.d9_qenerics_class;

public class Test {
    public static void main(String[] args) {
        // 目标: 掌握泛型类的定义和使用
        MyArrayList myArrayList = new MyArrayList();
        myArrayList.add(1);

        MyArrayList<String> list = new MyArrayList<>();
        list.add("1");
        list.add("2");
        list.add(String.valueOf(1));

        MyClass2<String,String,String> class2 = new MyClass2<>();

    }
}
